ComponentOne Data Source for Entity Framework
C1.LiveLinq Namespace / IndexedQueryExtensions Class / ToIndexed Method / ToIndexed<T>(BindingList<T>) Method
The type of the elements in the collection.
A System.ComponentModel.BindingList`1 data source to represent as an C1.LiveLinq.Collections.IndexedCollection<T>.

In This Topic
    ToIndexed<T>(BindingList<T>) Method
    In This Topic
    A typed specialization of the ToIndexed<T>(IBindingList) method.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function ToIndexed(Of T)( _
       ByVal source As System.ComponentModel.BindingList(Of T) _
    ) As IndexedCollection(Of T)
    public static IndexedCollection<T> ToIndexed<T>( 
       System.ComponentModel.BindingList<T> source
    )

    Parameters

    source
    A System.ComponentModel.BindingList`1 data source to represent as an C1.LiveLinq.Collections.IndexedCollection<T>.

    Type Parameters

    T
    The type of the elements in the collection.

    Return Value

    An C1.LiveLinq.Indexing.IIndexedSource<T> that contains the same elements as the System.ComponentModel.BindingList`1 and enables indexing of that data source.
    See Also